#include<QApplication>
#include<Graph.h>
#include<Algorithm.h>
#include<Visualizer.h>
#include<ContainerElement.h>

int main( int argc, char *argv[] ){
	QApplication app(argc, argv);
	
	Graph *graph = Graph::fromFile( "simple.graph" );
	Algorithm *a = new AlgorithmPath(graph);
	Visualizer *visualizer = new Visualizer;
	visualizer->addAlgorithm(a);
	visualizer->show();
	a->run();
	
	return app.exec();
} 
